Skip to content

[POST] editDriver

/api/manager/editDriver

EditDriverRequestDTO

Attributes:

Name Type Description
id str

ID of the driver to be edited

email_add Annotated[Optional[str], AfterValidator(validateEmail)]

Email address of the driver

first_name Annotated[Optional[str], AfterValidator(validateName)]

First name of the driver

last_name Annotated[Optional[str], AfterValidator(validateName)]

Last name of the driver

rfid Optional[str]

RFID of the driver (Optional)

private_access List[int]

List of site IDs for private access (Optional)

EditDriverResponseDTO

Attributes:

Name Type Description
id str

ID of the driver

driver_patch Dict

Dictionary containing the edited attributes of the driver